<!DOCTYPE html>
<html>
<head>
    <title>work_db</title>
    <#include "newheader.html"/>
</head>
<body>
<div class="content pb0" id="rrapp">
    <!-- Info boxes -->
    <div class="row">
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-aqua"><i class="fa fa-file-text-o"></i></span>
                <div class="info-box-content">
                    <span class="info-box-text">作业数</span>
                    <span class="info-box-number">{{mainInfo.workCnt}}</span>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-blue"><i class="fa fa-calendar-o"></i></span>
                <div class="info-box-content">
                    <span class="info-box-text">任务数</span>
                    <span class="info-box-number">{{mainInfo.skdJobCnt}}</span>
                </div>
            </div>
        </div>

        <!-- fix for small devices only -->
        <div class="clearfix visible-sm-block"></div>

        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-green"><i class="fa icon-social-linkedin"></i></span>
                <div class="info-box-content">
                    <span class="info-box-text">未执行完实例数</span>
                    <span class="info-box-number">{{mainInfo.skdInstCnt}}</span>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-red"><i class="fa fa-bomb"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">失败作业明细数</span>
                    <span class="info-box-number">{{mainInfo.skdFailureCnt}}</span>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="box box-widget">
                <div class="box-header with-border">
                    <h3 class="box-title">主任务</h3>
                </div>
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <div class="description-block border-right">
                                    <h5 class="description-header">实例ID</h5>
                                    <span class="description-text">{{mainInfo.mainInstId}}</span>
                                </div>
                            </div>

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <div class="description-block border-right">
                                    <h5 class="description-header">开始时间</h5>
                                    <span class="description-text">{{mainInfo.mainInstStartTime}}</span>
                                </div>
                            </div>

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <div class="description-block border-right">
                                    <h5 class="description-header">结束时间</h5>
                                    <span class="description-text">{{mainInfo.mainInstEndTime}}</span>
                                </div>
                            </div>

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <div class="description-block border-right">
                                    <h5 class="description-header">执行时长</h5>
                                    <span class="description-text">{{mainInfo.mainInstExecTime}}分钟</span>
                                </div>
                            </div>



                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="box box-widget">
                <div class="box-header with-border">
                    <h3 class="box-title">失败日志</h3>
                </div>
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                            <table id="jqGrid"></table>
                            <div id="jqGridPager"></div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

</div>
<script src="${base}/js/sys/main.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>